package com.applet.pojo.vo;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author “XuShao”
 * @date 2024/12/19 19:35
 * @description
 */
@Data
public class ActivityItemVO implements Serializable {

    private String id; //主键id

    private String title;//标题
    private String name;//添加者
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GHT+8")
    private LocalDateTime beginTime;//开始时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GHT+8")
    private LocalDateTime endTime;//结束时间
    private Integer state;// 活动状态
    private Integer numberOfPeopleUpperLimit;//参与人数上限
    private Integer numberOfParticipants;//当前参与人数

    private String avatarUrl; // 活动图片
}
